﻿using System;
using System.Collections.Generic;
using System.Text;

namespace stsdev.Builders.DeploymentFiles
{
    public abstract class AbstractDeploymentFile
    {
        public AbstractDeploymentFile(SolutionFileBuilder solutionFileBuilder, ProjectFileBuilder projectFileBuilder)
        {
            _solutionFileBuilder = solutionFileBuilder;
            _projectFileBuilder = projectFileBuilder;
        }

        abstract public void Create(string outputPath);
        abstract public void Refresh(string outputPath);

        private SolutionFileBuilder _solutionFileBuilder;
        protected SolutionFileBuilder SolutionBuilder
        {
            get
            {
                return _solutionFileBuilder;
            }
        }

        private ProjectFileBuilder _projectFileBuilder;
        protected ProjectFileBuilder ProjectBuilder
        {
            get 
            {
                return _projectFileBuilder;
            }
        }
    }
}
